]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
sessionMode: Enable networkAgent on login screen
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 10 Jun 2021 21:12:27 +0000 (23:12 +0200)
committerMarge Bot <marge-bot@gnome.org>
Fri, 16 Jul 2021 22:21:12 +0000 (22:21 +0000)
We will soon enable the network sections in the status menu on the
login screen, so enable the network agent to handle authentication
requests (like wifi/VPN passwords).

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1874>

js/ui/sessionMode.js

index aa69fd1152ff87aa295d463ab876b713fdbbe7b3..4d4fb2444c35174ba6ef4bedbebfa40d08d9becc 100644 (file)
@@ -47,7 +47,9 @@ const _modes = {
         isGreeter: true,
         isPrimary: true,
         unlockDialog: imports.gdm.loginDialog.LoginDialog,
-        components: ['polkitAgent'],
+        components: Config.HAVE_NETWORKMANAGER
+            ? ['networkAgent', 'polkitAgent']
+            : ['polkitAgent'],
         panel: {
             left: [],
             center: ['dateMenu'],